package cn.com.yusys.yusp.custManager.domain;

import cn.com.yusys.yusp.commons.mapper.annotation.Generated;
import cn.com.yusys.yusp.commons.mapper.annotation.GenerationType;
import cn.com.yusys.yusp.commons.mapper.domain.BaseDomain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;

/**
 * 客户群
 * @author zoie
 */
@Entity
@Table(name = "WCRM_MARKET_CUST_GROUP")
public class MarketCustGroup extends BaseDomain implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @Column(name = "ID")
    @Generated(GenerationType.UUID)
    private String id;

    @Column(name = "CUST_GROUP_NO")
    private String custGroupNo;

    @Column(name = "CUST_GROUP_NAME")
    private String custGroupName;

    @Column(name = "CUST_GROUP_TYPE")
    private String custGroupType;

    @Column(name = "CUST_GROUP_STATUS")
    private String custGroupStatus;

    @Column(name = "CUST_GROUP_NUM")
    private BigDecimal custGroupNum;

    @Column(name = "TASK_TYPE")
    private String taskType;

    @Column(name = "GRID_ID")
    private String gridId;

    @Column(name = "CREATE_USER")
    private String createUser;

    @Column(name = "CREATE_USER_NAME")
    private String createUserName;

    @Column(name = "CREATE_TIME")
    private Timestamp createTime;

    @Column(name = "LAST_UPDATE_USER")
    private String lastUpdateUser;

    @Column(name = "LAST_UPDATE_USER_NAME")
    private String lastUpdateUserName;

    @Column(name = "LAST_UPDATE_TIME")
    private Timestamp lastUpdateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCustGroupNo() {
        return custGroupNo;
    }

    public void setCustGroupNo(String custGroupNo) {
        this.custGroupNo = custGroupNo;
    }

    public String getCustGroupName() {
        return custGroupName;
    }

    public void setCustGroupName(String custGroupName) {
        this.custGroupName = custGroupName;
    }

    public String getCustGroupType() {
        return custGroupType;
    }

    public void setCustGroupType(String custGroupType) {
        this.custGroupType = custGroupType;
    }

    public String getCustGroupStatus() {
        return custGroupStatus;
    }

    public void setCustGroupStatus(String custGroupStatus) {
        this.custGroupStatus = custGroupStatus;
    }

    public BigDecimal getCustGroupNum() {
        return custGroupNum;
    }

    public void setCustGroupNum(BigDecimal custGroupNum) {
        this.custGroupNum = custGroupNum;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public String getGridId() {
        return gridId;
    }

    public void setGridId(String gridId) {
        this.gridId = gridId;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser;
    }

    public String getLastUpdateUserName() {
        return lastUpdateUserName;
    }

    public void setLastUpdateUserName(String lastUpdateUserName) {
        this.lastUpdateUserName = lastUpdateUserName;
    }

    public Timestamp getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Timestamp lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public MarketCustGroup() {
    }

    public MarketCustGroup(String id, String custGroupNo, String custGroupName, String custGroupType, String custGroupStatus, BigDecimal custGroupNum, String taskType, String gridId, String createUser, String createUserName, Timestamp createTime, String lastUpdateUser, String lastUpdateUserName, Timestamp lastUpdateTime) {
        this.id = id;
        this.custGroupNo = custGroupNo;
        this.custGroupName = custGroupName;
        this.custGroupType = custGroupType;
        this.custGroupStatus = custGroupStatus;
        this.custGroupNum = custGroupNum;
        this.taskType = taskType;
        this.gridId = gridId;
        this.createUser = createUser;
        this.createUserName = createUserName;
        this.createTime = createTime;
        this.lastUpdateUser = lastUpdateUser;
        this.lastUpdateUserName = lastUpdateUserName;
        this.lastUpdateTime = lastUpdateTime;
    }

    @Override
    public String toString() {
        return "MarketCustGroup{" +
                "id='" + id + '\'' +
                ", custGroupNo='" + custGroupNo + '\'' +
                ", custGroupName='" + custGroupName + '\'' +
                ", custGroupType='" + custGroupType + '\'' +
                ", custGroupStatus='" + custGroupStatus + '\'' +
                ", custGroupNum=" + custGroupNum +
                ", taskType='" + taskType + '\'' +
                ", gridId='" + gridId + '\'' +
                ", createUser='" + createUser + '\'' +
                ", createUserName='" + createUserName + '\'' +
                ", createTime=" + createTime +
                ", lastUpdateUser='" + lastUpdateUser + '\'' +
                ", lastUpdateUserName='" + lastUpdateUserName + '\'' +
                ", lastUpdateTime=" + lastUpdateTime +
                '}';
    }
}